home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news.sprintlink.net!news1!news
- From: ahaas@holli.com (Alan Haas)
- Subject: Re: Programming use of a mouse in Turbo C++ 1.01 (DOS)
- X-Nntp-Posting-Host: laf-ts0-26.holli.com
- Message-ID: <DLF2v9.MpM@iquest.net>
- Sender: news@iquest.net (News Admin)
- Organization: IQuest Internet, Inc.
- X-Newsreader: Forte Free Agent 1.0.82
- References: <4dk6r0$o1j@larry.rice.edu>
- Date: Fri, 19 Jan 1996 07:17:24 GMT
-
- marzuola@great-horned.owlnet.rice.edu (Steven Joseph Marzuola) wrote:
-
- >I've had Turbo C++ 1.01 for DOS for several years. I'll replace it one of
- >these days, but in the meantime I've been writing some home/hobby stuff
- >with it.
-
- >My problem now is, I want to program mouse clicks and/or movement. A
- >function that reads the current state of each button, or returns the X
- >and/or Y coordinates of the mouse on the screen, would be sufficient.
-
- >There's nothing like it in the "include" library. Any suggestions?
-
- >Thanks.
- >--
- >Steve Marzuola (marzuola@owlnet.rice.edu)
- > Chaos. I can relate to that. My life is chaos most of the time. I
- > am in tune with the universe. It feels like home. -- Robert Fulghum
-
- You can use Dos interrupt 33 to provide mouse functionality.
- You can get an interrupt list that will contain the needed needed
- values and return values at Simtel.
-
- Alan Haas ahaas@holli.com
- "Fun is all the more so when it is shared"
-
-